package cn.yzfy.framework.starter.base.safa;

import org.springframework.beans.factory.InitializingBean;

/**
 * @Author: 一朝风月
 * @Date: 2025/8/11 9:40
 * @Code 珍琅Code 研发
 * @Version: 1.0
 * @Description
 */
public class FastJsonSafeMode implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        //开启安全守护
        System.setProperty("fastjson2.parser.safeMode", "true");

    }
}
